Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: get back health check for postgres legacy #3010

Merged
merged 2 commits into from
Sep 10, 2024

Conversation

Ivansete-status
Copy link
Collaborator

Description

Recovering the health check async task for the legacy driver.
This is needed to be kept because the inserts to the database are made through the legacy store Postgres driver.
What happened is that, if the database was restarted, then the legacy Postgres driver didn't reset the connections pool and therefore, the upcoming inserts failed.

Issue

chore: store node loses connection if database restarts
closes #2989

@Ivansete-status Ivansete-status self-assigned this Aug 30, 2024
Copy link

github-actions bot commented Aug 30, 2024

You can find the image built from this PR at

quay.io/wakuorg/nwaku-pr:3010

Built from 32f2afb

@Ivansete-status Ivansete-status marked this pull request as ready for review September 3, 2024 21:00
Copy link
Contributor

@SionoiS SionoiS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM Thanks!

Copy link
Contributor

@gabrielmer gabrielmer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks so much!

@Ivansete-status Ivansete-status merged commit 5a0edff into master Sep 10, 2024
9 of 11 checks passed
@Ivansete-status Ivansete-status deleted the fix-db-reconnection-issue branch September 10, 2024 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

chore: store node loses connection if database restarts
3 participants